/**
 * Created by Ysssssss on 2021/5/31.
 */
import React, {forwardRef} from 'react'

const BilinIcon = (props, ref) => {
    const { type, className, style, staticContext, ...otherProps } = props

    let iconType = `icon-${type}`

    return (
        <div className={`bilin-icon ${iconType} ${className}`} style={style} ref={ref} {...otherProps}/>
    )
}


export default forwardRef(BilinIcon)